package com.teacher.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author teacher
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TXk对象", description="")
public class TXk implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生选课id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "课程id")
    private Integer classId;

    @ApiModelProperty(value = "学生id")
    private Integer stuId;

    @ApiModelProperty(value = "该课程期末成绩")
    private Integer grade;

    @ApiModelProperty(value = "平时成绩")
    private Integer pscj;

    @TableField(exist = false)
    private TUser tUserstudent;

    @TableField(exist = false)
    private TClass tClass;

    @TableField(exist = false)
    private double zongfen;
}
